package Mr.Right.util.model;

public class Messager {

	/**
	 * 具体的消息内容
	 */
	private String message;
	/**
	 * 用户所进行的操作
	 */
	private String operator;
	/**
	 * 当前用户
	 */
	private String user_ID;
	/**
	 * 操作执行的状态
	 */
	private String status;
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	public String getOperator() {
		return operator;
	}
	public void setOperator(String operator) {
		this.operator = operator;
	}
	
	
	public String getUser_ID() {
		return user_ID;
	}
	public void setUser_ID(String userID) {
		user_ID = userID;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 * 格式化后写到数据库
	 */
	@Override
	public String toString() {
		return this.user_ID + "#" + this.message+ "#" + this.operator+"#" + this.status;
	}
	
	
}
